﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LearnNet.Entity
{
    /// <summary>
    /// 所有栏目内显示的文章列表信息
    /// </summary>
    public  class ArticleListInfo
    {
        #region "Private Variables"
        private Int32 _Id = 0; // 文章ID
        private Int32 _ChannelId = 0; // 频道ID
        private Int32 _ClassId = 0; // 栏目ID
        private String _Title = ""; // 文章标题
        private String _TColor = ""; // 标题颜色
        private DateTime _AddDate = DateTime.Now; // 添加时间
        private String _Summary = ""; // 摘要
        private String _Editor = ""; // 编辑
        private String _Author = ""; // 作者
        private String _Tags = ""; // 标签
        private Int32 _ViewNum = 0; // 浏览次数
        private String _Img = ""; // 图片地址
        private Int32 _OrderNum = 0; // 排序数
        private Int32 _UserId = 0; // 添加用户ID
        private String _SourceFrom = ""; // 来源
        private Int32 _SupportNum = 0; // 支持数
        private Int32 _AgainstNum = 0; // 反对数量
        #endregion

        #region "Public Variables"
      
        /// <summary>
        /// 文章ID
        /// </summary>
        public Int32 Id
        {
            set { this._Id = value; }
            get { return this._Id; }
        }
        /// <summary>
        /// 频道ID
        /// </summary>
        public Int32 ChannelId
        {
            set { this._ChannelId = value; }
            get { return this._ChannelId; }
        }
        /// <summary>
        /// 栏目ID
        /// </summary>
        public Int32 ClassId
        {
            set { this._ClassId = value; }
            get { return this._ClassId; }
        }
        /// <summary>
        /// 文章标题
        /// </summary>
        public String Title
        {
            set { this._Title = value; }
            get { return this._Title; }
        }
        /// <summary>
        /// 标题颜色
        /// </summary>
        public String TColor
        {
            set { this._TColor = value; }
            get { return this._TColor; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate
        {
            set { this._AddDate = value; }
            get { return this._AddDate; }
        }
        /// <summary>
        /// 摘要
        /// </summary>
        public String Summary
        {
            set { this._Summary = value; }
            get { return this._Summary; }
        }
        /// <summary>
        /// 编辑
        /// </summary>
        public String Editor
        {
            set { this._Editor = value; }
            get { return this._Editor; }
        }
        /// <summary>
        /// 作者
        /// </summary>
        public String Author
        {
            set { this._Author = value; }
            get { return this._Author; }
        }
        /// <summary>
        /// 标签
        /// </summary>
        public String Tags
        {
            set { this._Tags = value; }
            get { return this._Tags; }
        }
        /// <summary>
        /// 浏览次数
        /// </summary>
        public Int32 ViewNum
        {
            set { this._ViewNum = value; }
            get { return this._ViewNum; }
        }

        /// <summary>
        /// 图片地址
        /// </summary>
        public String Img
        {
            set { this._Img = value; }
            get { return this._Img; }
        }
        /// <summary>
        /// 排序数
        /// </summary>
        public Int32 OrderNum
        {
            set { this._OrderNum = value; }
            get { return this._OrderNum; }
        }
        /// <summary>
        /// 添加用户ID
        /// </summary>
        public Int32 UserId
        {
            set { this._UserId = value; }
            get { return this._UserId; }
        }
        /// <summary>
        /// 来源
        /// </summary>
        public String SourceFrom
        {
            set { this._SourceFrom = value; }
            get { return this._SourceFrom; }
        }
        /// <summary>
        /// 支持数
        /// </summary>
        public Int32 SupportNum
        {
            set { this._SupportNum = value; }
            get { return this._SupportNum; }
        }
        /// <summary>
        /// 反对数量
        /// </summary>
        public Int32 AgainstNum
        {
            set { this._AgainstNum = value; }
            get { return this._AgainstNum; }
        }
        #endregion
    }
}
